package com.letoken.platform.repo.ecommerce.dto;

import com.letoken.platform.pub.annotation.content.ContentCheck;
import com.letoken.platform.pub.annotation.content.ContentEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value = "新修改店铺信息", description = "新修改店铺信息")
public class ShopModifyReq implements Serializable {


    @NotNull(message = "80000007")
    @ApiModelProperty(name = "mallId", value = "店铺ID", required = true, example = "1")
    private Integer mallId;

    @ApiModelProperty(name = "mallName", value = "店铺名称", required = false, example = "十佳好店")
    @ContentCheck(type = ContentEnum.LOCAL_CONTENT, allowNull = "true",message = "80407032")
    private String mallName;


    @ApiModelProperty(name = "logo", value = "店铺头像", required = false, example = "https://xxxx.xxx.xx/path/xxx.png")
    private String logo;


    // 运费规则类型 1叠加 2较大值
    private Integer shippingType;





}
